#include "winassert.h"
#ifndef NDEBUG
#include "system.h"

void _sysassert(const char * e, const char * f, int l)
{
	char buffer[1024];
	sprintf(buffer,"Assertion '%s' failed at line %d of file '%s'",
			e,l,f);
	MessageBox(0,buffer,"Error",MB_OK);
	throw abort;
}
#endif
